package IO;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class Fileinputstream2 {
    public static void main(String[] args) throws IOException {
        InputStream in = new FileInputStream("day10-file_io/src/File5.txt");
        byte[] bytes = in.readAllBytes();
        String re=new String(bytes);
        System.out.println(re);
    }
}
